<!DOCTYPE html>
<script src="../resources/text-based-repaint.js"></script>
<script>
function repaintTest() {
    document.querySelector('rect').setAttribute('x', 25);
}
onload = runRepaintAndPixelTest;
</script>
<style>
rect {
  outline: 5px solid blue;
  outline-offset: 10px;
}
</style>
<svg width="600">
  <rect x="140" y="25" width="100" height="100" fill="green"/>
</svg>
